<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>transform 变形--缩放 scale</title>
		<style type="text/css">
			div {
				display: inline-block;
				width: 200px;
				height: 100px;
				margin: 200px 10px;
				position: relative;
				background-color: #57ff9d;
				
				transition: 2s;
			}
			.scale1:hover {
			
				transform: scale(0.5);
			}
			.scale2:hover {
				transform: scale(0.5, 2);
			}
			.scaleX:hover {
				transform: scaleX(0.5);
			}
			.scaleY:hover {
				transform: scaleY(2);
			}
			.scaleZ:hover {
				transform: scaleZ(0.6);
			}
			.scale3d:hover {
				transform: scale3d(0.5, 2, 1.5);
			}
		</style>
	</head>
	<body>
		<div class="box scale1">scale(0.5)</div>
		<div class="box scale2">scale(0.5,2)</div>
		<div class="box scaleX">scaleX(0.5);</div>
		<div class="box scaleY">scaleY(2);</div>
		<div class="box scaleZ">scaleZ(0.6)</div>
		<div class="box scale3d">scale3d(0.5,2, 1.5);</div>
	</body>
</html>
